package com.spic.business.riskbase.hierarchy.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * workTask对象 risk_work_task
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public class RiskWorkTask
{
    private static final long serialVersionUID = 1L;

    /** 工作任务id */
    private Long id;

    /** 工作任务名称 */
    @Excel(name = "工作任务名称")
    private String workTaskName;

    /** 父部门id */
    @Excel(name = "父部门id")
    private Long parentDeptId;

    /** 父部门名称 */
    @Excel(name = "父部门名称")
    private String parentDeptName;

    /** $table.subTable.functionName信息 */
    private List<RiskWorkStep> riskWorkStepList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkTaskName(String workTaskName) 
    {
        this.workTaskName = workTaskName;
    }

    public String getWorkTaskName() 
    {
        return workTaskName;
    }
    public void setParentDeptId(Long parentDeptId) 
    {
        this.parentDeptId = parentDeptId;
    }

    public Long getParentDeptId() 
    {
        return parentDeptId;
    }
    public void setParentDeptName(String parentDeptName) 
    {
        this.parentDeptName = parentDeptName;
    }

    public String getParentDeptName() 
    {
        return parentDeptName;
    }

    public List<RiskWorkStep> getRiskWorkStepList()
    {
        return riskWorkStepList;
    }

    public void setRiskWorkStepList(List<RiskWorkStep> riskWorkStepList)
    {
        this.riskWorkStepList = riskWorkStepList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workTaskName", getWorkTaskName())
            .append("parentDeptId", getParentDeptId())
            .append("parentDeptName", getParentDeptName())
            .append("riskWorkStepList", getRiskWorkStepList())
            .toString();
    }
}
